<template>
  <a-layout class="layout">
    <Header name="柏熠科技" />
    <a-layout-content class="main-container">
      <a-result status="404" title="404" sub-title="Sorry, the page you visited does not exist.">
        <template #extra>
          <a-button type="primary" @click="() => router.push('/index')">Back Home</a-button>
        </template>
      </a-result>
    </a-layout-content>
  </a-layout>
</template>

<script lang="ts" setup>
import { getCurrentInstance, ref, onUnmounted } from 'vue';
import { useRouter, useRoute, createWebHistory } from 'vue-router';

import BackButton from '/@/components/BackButton/index.vue';
import Header from '/@/components/Header/index.vue';

const router = useRouter();

const back = () => {};
</script>

<style lang="less" scoped>
.layout {
  min-width: 1400px;
  min-height: 100vh;
}

.main-container {
  flex-direction: row;
  padding: 19px 70px;
  background-color: @bg-color;
}

.card {
  background-color: @white-color;
  padding: 30px;

  :deep(.ant-btn) {
    margin-left: 10px;
  }
}
</style>
